package com.bdzl.ecs.service.impl;

import com.bdzl.ecs.dao.ContractOnlineSignrecDao;
import com.bdzl.ecs.service.ContractOnlineSignrecService;
import com.bdzl.pub.entity.loan.ContractOnlineSignrecDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class ContractOnlineSignrecServiceImpl implements ContractOnlineSignrecService {
	@Autowired
	private ContractOnlineSignrecDao contractOnlineSignrecDao;

	@Override
	public ContractOnlineSignrecDO get(Integer cosId){
		return contractOnlineSignrecDao.get(cosId);
	}

	@Override
	public List<ContractOnlineSignrecDO> list(Map<String, Object> map){
		return contractOnlineSignrecDao.list(map);
	}

	@Override
	public int count(Map<String, Object> map){
		return contractOnlineSignrecDao.count(map);
	}

	@Override
	public int save(ContractOnlineSignrecDO contractOnlineSignrec){
		return contractOnlineSignrecDao.save(contractOnlineSignrec);
	}

	@Override
	public int update(ContractOnlineSignrecDO contractOnlineSignrec){
		return contractOnlineSignrecDao.update(contractOnlineSignrec);
	}

	@Override
	public int remove(Integer cosId){
		return contractOnlineSignrecDao.remove(cosId);
	}

	@Override
	public int batchRemove(Integer[] cosIds){
		return contractOnlineSignrecDao.batchRemove(cosIds);
	}

	@Override
	public int listByCosOdr(String odrNo) {
		return contractOnlineSignrecDao.listByCosOdr(odrNo);
	}

}
